package com.ruoyi.web.controller.api;

import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.enums.OperatorType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 人才选聘api接口
 *
 * @Author： Lonni
 * @Date： 2025/9/9  14:10
 */
@RestController
@RequestMapping("/api/hr")
public class HrRcxpApi {


    @PostMapping("eligibility_check")
    @Log(title = "专家选聘-资格材料解析接口", businessType = BusinessType.OTHER,
            operatorType = OperatorType.HR_API, isSaveRequestData = true, isSaveResponseData = true)
    public AjaxResult eligibilityCheck() {
        //TODO 业务逻辑
        return AjaxResult.success();

    }

    @PostMapping("self_check_one")
    @Log(title = "专家选聘-自查辅助1", businessType = BusinessType.OTHER,
            operatorType = OperatorType.HR_API, isSaveRequestData = true, isSaveResponseData = true)
    public AjaxResult selfCheckOne() {
        //TODO 业务逻辑
        return AjaxResult.success();
    }


    @PostMapping("performance_analy")
    @Log(title = "专家申报-业绩资料解析", businessType = BusinessType.OTHER,
            operatorType = OperatorType.HR_API, isSaveRequestData = true,
            isSaveResponseData = true)
    public AjaxResult informationAnalysis() {
        //TODO 业务逻辑
        return AjaxResult.success();
    }


    @PostMapping("self_check_two")
    @Log(title = "专家申报-自查辅助2", businessType = BusinessType.OTHER,
            operatorType = OperatorType.HR_API, isSaveRequestData = true,
            isSaveResponseData = true)
    public AjaxResult selfCheckTwo() {
        //TODO 业务逻辑
        return AjaxResult.success();
    }


}
